wayland: Check for subsurface looking up the toplevel
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 29 Nov 2016 13:21:57 +0000 (14:21 +0100)
committerOlivier Fourdan <ofourdan@redhat.com>
Wed, 30 Nov 2016 09:05:47 +0000 (10:05 +0100)
commitbd4519922ce5f85adaa4451b007034aef5c1d63e
tree4444f0f76bad0242e431ab3a40659f7bab5382c9
parentc8b92cb0d2494352bf2558409f3025f0d9d22cf7
wayland: Check for subsurface looking up the toplevel

gdk_window_get_toplevel() walks up the windows tree looking for the
corresponding toplevel window, but needs to account for subsurfaces as
well on Wayland.

https://bugzilla.gnome.org/show_bug.cgi?id=775319
gdk/gdkwindow.c